<!-- $Id: mshop_info.htm 14361 2008-04-07 09:26:17Z zhuwenyuan $ -->
{include file="pageheader.htm"}
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<style>
.span_info{  padding-left: 10px; cursor:pointer;}
 .span_info a{    color: #666;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    padding: 2px 5px 2px 5px;
    border: 1px solid #278296;
    border-right: 2px solid #278296;
    border-bottom: 2px solid #278296;
    background: #DDEEF2 url(../images/icon_add.gif) no-repeat 3px center;
}}
</style>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
{insert_scripts files="validator.js,../js/transport.js}
<div class="main-div">
<form method="post" action="mshop_cashbank.php" name="theForm" enctype="multipart/form-data" onSubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">

  
  <tr>
    <td class="label">{$lang.cash_name}</td>
    <td><input name="cash_name" type="text" id="cash_name" value="{$mshop_cashbank.cash_name}"></td>
  </tr>
   <tr>
    <td class="label">{$lang.pay_name}</td>
    <td><select name="pay_id" >
    {foreach from=$payment_list item=payment}
   <option value="{$payment.pay_id}"  {if $payment.pay_id eq $mshop_cashbank.pay_id}selected="selected"{/if}>{$payment.pay_name}</option>
      {/foreach}
        </select>
    </td>
  </tr>
    <tr>
    <td class="label">{$lang.cash_value}</td>
    <td><input name="cash_value" type="text" id="pay_fee" value="{$mshop_cashbank.cash_value}"></td>
  </tr>

  
  <tr>
    <td colspan="2" align="center">
      <input type="submit" class="button" value="{$lang.button_submit}" />
      <input type="reset" class="button" value="{$lang.button_reset}" />
      <input type="hidden" name="act" value="{$form_action}" />
      <input type="hidden" name="id" value="{$mshop_cashbank.cash_id}" />  
      <input type="hidden" name="mshop_id" value="{$mshop_id}" />   </td>
  </tr>
</table>
</form>
</div>

{literal}
<script language="JavaScript">
<!--
onload = function()
{
    // 开始检查订单
    startCheckOrder();
//    changeRange(document.forms['theForm'].elements['act_range'].value);
//    changeType(document.forms['theForm'].elements['act_type'].value);
}
/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    validator.required('cash_name', act1_not_null);
    validator.required('cash_value',act2_not_null);


    return validator.passed();
}

//-->
</script>
{/literal}
{include file="pagefooter.htm"}
